package com.coderman.infosys.user.infrast.convert;

import java.util.List;

import com.coderman.infosys.user.domain.bo.ThirdUserBO;
import com.coderman.infosys.user.infrast.dao.dataobject.ThirdUserDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
* @Description:三方用户信息接口
* @Author:
* @CreateTime:2021-09-29 17:15:04
* @version v1.0
*/
@Mapper
public interface ThirdUserConvert{
	ThirdUserConvert INSTANCE = Mappers.getMapper(ThirdUserConvert.class);

	/**
	 *
	 * @Description:
	 * @return ThirdUserBO
	 */
	 ThirdUserBO do2bo(ThirdUserDO thirdUserDO);
	/**
	 *
	 * @Description:
	 * @return List<ThirdUserBO>
	 */
	 List<ThirdUserBO> doList2boList(List<ThirdUserDO> thirdUserDOList);
	/**
	 *
	 * @Description:
	 * @return ThirdUserDO
	 */
	 ThirdUserDO bo2do(ThirdUserBO thirdUserBO);
	/**
	 *
	 * @Description:
	 * @return List<ThirdUserDO>
	 */
	 List<ThirdUserDO> boList2doList(List<ThirdUserBO> thirdUserBOList);
}